cmake_minimum_required(VERSION 3.0.2)
project(duo_camera)

find_package(catkin REQUIRED COMPONENTS
  cv_bridge
  image_transport
  roscpp
  rospy
  sensor_msgs
  std_msgs
  camera_info_manager
)


catkin_package(
  INCLUDE_DIRS include
  LIBRARIES duo_camera
  CATKIN_DEPENDS cv_bridge image_transport roscpp rospy sensor_msgs std_msgs
  DEPENDS system_lib
)

include_directories(
# include
  ${OpenCV_INCLUDE_DIRS}
  ${catkin_INCLUDE_DIRS}
)

add_executable(image_publisher
        src/image_publisher.cpp
        src/ImagePublisher.h
        src/ImageCatcher.h
        )

add_executable(composite_publisher
        src/composite_publisher.cpp)




target_link_libraries(image_publisher ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
target_link_libraries(composite_publisher ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
